<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://www.goodfox.com/jsp/tags/power" prefix="p"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<script type="text/javascript">
</script>

<div class="pageContent" style="border-left: 1px solid #B8D0D6;border-right: 1px solid #B8D0D6;">
	<div class="panelBar">
		<ul class="toolBar">
			<li><span><spring:message code="search.lnkGoAdd"/>${attrType.typeName}</span></li>
			<li class="line">line</li>
		</ul>
	</div>
    <form id="addRoleFrom" action="<c:url value="/attribute/attributeAdd.shtml"/>" method="post" onsubmit="return validateCallback(this,navTabAjaxDone);">
		<input type="hidden" name="attribute_add_atrTName" id="attribute_add_atrTName" value="${attrType.typeName}">
		<input type="hidden" name="attribute_add_atrTValue" id="attribute_add_atrTValue" value="${attrType.typeValue}">
		<input type="hidden" name="attribute_add_atrUse" id="attribute_add_atrUse" value="${attrType.useType}">
		<table class="tableForm" cellpadding="0" cellspacing="1" width="100%"> 
			<tbody>
				<tr>
					<td>显示序号</td>
					<td>
						<input class="required" type="text" name="attribute_add_atrSort" id="attribute_add_atrSort" maxlength="2" />
					</td>
				</tr>
				<tr>
					<td>属性名称</td>
					<td>
						<input class="required" type="text" name="attribute_add_atrName" id="attribute_add_atrName" maxlength="25" />
					</td>
				</tr>
			</tbody>
		</table>
		<div class="panelBar">
            <div class="buttonActive">
        		<c:if test="${p:isPower('/attribute/attributeAdd.shtml',sessionScope.loginAccount)}">
            	<div class="buttonContent"><button type="submit"><spring:message code="add.btnAdd"/></button></div>
            	</c:if>
            </div>
		</div>
	</form>
</div>